﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SL.M.Net
{
    /// <summary>
    /// Optional flags indicating how the session should be set up.
    /// </summary>
    /// <remarks>The session flags used on the server and the client should be identical.</remarks>
    [Flags]
    public enum SessionFlags
    {
        /// <summary>
        /// Default settings.
        /// </summary>
        None = 0x0,
        /// <summary>
        /// Enable SSL between the client and the server.
        /// </summary>
        EnableSecureChannel = 0x1,
        /// <summary>
        /// Enable fast compression between the client and the server.
        /// </summary>
        EnableCompression = 0x2
    }
}
